import http from "@/api";

/**
 * @name 获取描述列表
 */
// 获取描述列表
export const getDescriptionListApi = (params) => {
    return http.get(`/api/system/description/`, params);
};


// 创建描述
export const postDescriptionApi = (params) => {
    return http.post(`/api/system/description/`, params);
};

// 修改描述
export const putDescriptionApi = (id, params) => {
    return http.put(`/api/system/description/${id}/`, params);
};

// 上传图片
export const postDescriptionFileApi = (params) => {
    return http.post(`/api/system/descriptionFile/`, params);
};


